﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Blog.DTO.BlogProjectCase;

/// <summary>
///     项目案例新增模型
/// </summary>
public class BlogProjectCaseAddDTO
{
    /// <summary>
    ///     项目案例编码
    /// </summary>
    [Required(ErrorMessage = "项目案例编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     项目案例名称
    /// </summary>
    [Required(ErrorMessage = "项目案例名称不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     项目图片
    /// </summary>
    public string? Image { get; set; }

    /// <summary>
    ///     项目介绍
    /// </summary>
    public string? Introduce { get; set; }
}